//*********************************************************************
// GasMileage leage.java  Author:20172330
//
// Demonstrrates the use of the Scanner class to read numeric data.
//*********************************************************************

import java.util.Scanner;

public class Li29
{
   //------------------------------------------------------------------
   // Calculates fuel efficiency based on values entered by the
   // user
   //------------------------------------------------------------------
   public static void main(String []args)
   {
      int miles;
      double gallons, mpg;

      Scanner scan = new Scanner(System.in);
      miles = scan.nextInt();

      System.out.println("Enter the number of the miles:");
      miles = scan.nextInt();

      System.out.println("Enter the gallons of fuel used:");
      gallons = scan.nextDouble();
 
      mpg = miles / gallons;

      System.out.println("Miles Per Gallon:"+ mpg);
   }
}
